package com.wx.springcloud.service.impl;

import com.wx.springcloud.service.PaymentHystrixService;
import org.springframework.stereotype.Component;

/**
 * @author wangdada
 */
@Component
public class PaymentFallbackServiceImpl implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "服务调用失败,使用feign接口的统一异常处理😭";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "服务调用失败,使用feign接口的统一异常处理😭";
    }
}
